package com.sm.order.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @program: practice
 * @description:
 * @author: liqitian.
 * @create: 2019-11-15 10:21
 **/
@RestController
@RequestMapping("/order")
public class OrderController {

    @RequestMapping("/info")
    public String orderInfo() {
        return "order info date : " + new Date().toString();
    }
}
